3526dbc78de81285cb482f1b6227bd0f15ce1842,fuse/src/main/java/tachyon/fuse/TachyonFuseFs.java,TachyonFuseFs,rename,#String#String#,451
Before Change
}
} catch (FileDoesNotExistException e) {
LOG.debug("File {} does not exist", oldPath);
ret = ErrorCodes.ENOENT();
} catch (IOException e) {
LOG.error("IOException while moving {} to {}", oldPath, newPath, e);
ret = ErrorCodes.EIO();
After Change
}
} catch (FileDoesNotExistException e) {
LOG.debug("File {} does not exist", oldPath);
return -ErrorCodes.ENOENT();
} catch (IOException e) {
LOG.error("IOException while moving {} to {}", oldPath, newPath, e);
return -ErrorCodes.EIO();